package com.iraeta.dao;

import com.iraeta.entity.Fangkerecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FangkerecordDao {
    int insert(Fangkerecord record);
    int updateByPrimaryKey(Fangkerecord record);
    int deleteByPrimaryKey(Integer id);
    Fangkerecord selectByPrimaryKey(Integer id);
    Fangkerecord selectByOrderId(@Param("orderId") String orderId);
    List<Fangkerecord> listNeedProcessRecord();
    void deleteRecordByDay(@Param("dateStr") String dateStr);
    void updateAllRecordStatus();
}